package gtkwire.widget.utils;

/**
*Used to dictate the style that a GtkButtonBox uses to layout the buttons it contains. 
*Documentation for this class is from the gtk+ file that this class binds to. See original file for copyrights.
*/
public class GtkButtonBoxStyle
{
	/**
	*Default packing.
	*/
	public static final GtkButtonBoxStyle STYLE  = new GtkButtonBoxStyle( "GTK_BUTTONBOX_DEFAULT_STYLE" );

	/**
	*Buttons are evenly spread across the box.
	*/
	public static final GtkButtonBoxStyle SPREAD = new GtkButtonBoxStyle( "GTK_BUTTONBOX_SPREAD" );

	/**
	*Buttons are placed at the edges of the box.
	*/
	public static final GtkButtonBoxStyle EDGE = new GtkButtonBoxStyle( "GTK_BUTTONBOX_EDGE" );

	/**
	*Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).
	*/
	public static final GtkButtonBoxStyle START = new GtkButtonBoxStyle( "GTK_BUTTONBOX_START" );

	/**
	*Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBo
	*/
	public static final GtkButtonBoxStyle END = new GtkButtonBoxStyle( "GTK_BUTTONBOX_END" );

	/*
	*Buttons are centered in the box. 
	
	public static final GtkButtonBoxStyle GTK_BUTTONBOX_CENTER = new GtkButtonBoxStyle( "GTK_BUTTONBOX_CENTER" );
	*/

	private String mode;

	private GtkButtonBoxStyle( String mode )
	{
		this.mode = mode;
	}

	public String getMode(){ return mode; }

}//end class
